<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>管理员管理-有点</title>
<link rel="stylesheet" type="text/css" href="<?php echo Url::base(); ?>/resource/css.css">
<link rel="stylesheet" type="text/css" href="<?php echo Url::base(); ?>/resource/pageGroup.css">
<script type="text/javascript" src="<?php echo Url::base(); ?>/resource/jquery.js"></script>
<script type="text/javascript" src="<?php echo Url::base(); ?>/resource/jquery-1.js"></script>
<script type="text/javascript" src="






 /resource/pageGroup.js"></script>


<!-- <script type="text/javascript" src="js/page.js" ></script> -->
</head>

<body>
	<div id="pageAll">
		<div class="pageTop">
			<div class="page">
				<img src="<?php echo Url::base(); ?>/resource/coin02.png"><span><a href="#">首页</a>&nbsp;-&nbsp;-</span>&nbsp;管理员管理
			</div>
		</div>

		<div class="page">
			<!-- user页面样式 -->
			<div class="connoisseur">
				<div class="conform">
								
					<form method="post" action="<?php echo Url::base(); ?>index.php/labelm/add">
						<div class="cfD">


							名称:
							<input class="userinput" placeholder="输入名称" name="name" type="text"><br>
							顺序:
							<input class="userinput" placeholder="输入顺序" name="sort" type="text"><br>
							<select name="model">
								<option value="在线商城" selected>
									在线商城
								</option>
								<option value="餐饮娱乐">

									餐饮娱乐
								</option>
								<option value="家政服务">

									家政服务
								</option>
								<option value="美容美发">

									美容美发
								</option>
								<option value="教育培训">

									教育培训
								</option>
								<option value="汽车房产">

									汽车房产
								</option>
								<option value="家居建材">

									家居建材
								</option>
								<option value="二手市场">

									二手市场
								</option>

							</select><br>
							<button  type="submit"class="userbtn">添加</button>
						</div>
					</form>

				</div>
				<!-- user 表格 显示 -->
				<div class="conShow">
					<table border="1" cellpadding="0" cellspacing="0">
						<tbody><tr>
							<td class="tdColor tdC" width="66px">序号</td>
							<td class="tdColor" width="235px">名称</td>
							<td class="tdColor" width="100px">创建时间</td>
							<td class="tdColor" width="100px">顺序</td>
							<td class="tdColor" width="100px">模块</td>
							<td class="tdColor" width="100px">操作</td>
						</tr>

						<?php foreach($label  as $key=>$val){

						?>


						<tr height="40px">
							<td><?php echo $val['id'];?></td>
							<td><?php echo $val['name'];?></td>
							<td><?php echo $val['createDate'];?></td>
							<td><?php echo $val['sort'];?></td>
							<td><?php echo $val['model'];?></td>
							<td>
								<a href="<?php echo Url::base(); ?>index.php/labelm/detail?id=<?php echo $val['id'];?>" target="_blank">查看详细</a>
							</td>
						</tr>
						<?php } ?>
					</tbody></table>
					
					<div class="paging">
				
			</div>
		</div>

	</div>


	<!-- 删除弹出框 -->
	<div class="banDel">
		<div class="delete">
			<div class="close">
				<a><img src="<?php echo Url::base(); ?>/resource/shanchu.png"></a>
			</div>
			<p class="delP1">你确定要删除此条记录吗？</p>
			<p class="delP2">
				<a href="#" class="ok yes">确定</a><a class="ok no">取消</a>
			</p>
		</div>
	</div>
	<!-- 删除弹出框  end-->


<script type="text/javascript">
// 广告弹出框
$(".delban").click(function(){
  $(".banDel").show();
});
$(".close").click(function(){
  $(".banDel").hide();
});
$(".no").click(function(){
  $(".banDel").hide();
});
// 广告弹出框 end
</script>
</body></html>